Skip to content

feat!: remove deprecated 0.7-era compat shims for 0.9 - #180

Merged
antfu merged 2 commits into
mainfrom
chore/remove-0.8-deprecated-apis
Aug 10, 2026
Merged

feat!: remove deprecated 0.7-era compat shims for 0.9#180
antfu merged 2 commits into
mainfrom
chore/remove-0.8-deprecated-apis

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

Intent

Prepare for 0.9 by removing the compatibility shims that were deprecated across the 0.7 series, and document the transition in a migration guide. For a 0.x line, the minor bump is the breaking-change vehicle, so 0.9 is where these overdue removals land (several were slated for removal as far back as 0.8).

Removed APIs

Each removed export has had its drop-in replacement shipping alongside it since 0.7:

Removed Replacement
devframe/adapters/clicreateCli, CreateCliOptions, CliHandle devframe/adapters/caccreateCac, CreateCacOptions, CacHandle
devframe/recipes/open-helpersopenHelpers devframe/recipes/common-rpc-functionscommonRpcFunctions
devframe/rpc dump re-exports (collectStaticRpcDump, createClientFromDump, dumpFunctions, getDefinitionsWithDumps, reviveDumpError, serializeDumpError, StaticRpcDump*) devframe/rpc/dump
@devframes/hub json-render shims — defineJsonRenderSpec, ctx.createJsonRenderer, DevframeViewJsonRender, JsonRenderSpec / JsonRenderElement / JsonRenderer @devframes/json-render (createJsonRenderView, DevframeJsonRenderSpec, DevframeJsonRenderDockEntry)

Notable consumer change

The @devframes/hub-ui reference viewer rendered json-render docks through the removed live JsonRenderer handle (entry.ui._stateKey). It's migrated onto the serializable view ref from @devframes/json-render/hub (DevframeJsonRenderDockEntry with entry.view.stateKey, plus an inline-spec fallback) — the intended end state of the 0.7 json-render move.

Docs

Adds docs/guide/migration-0.9.md (wired into the nav) and trims the now-removed "deprecated alias" mentions from the cac / common-rpc-functions reference pages and the devframe skill.

Notes

  • No version bumps — releasing is left for a separate, human-approved step.
  • tsnapi API snapshots regenerated; the hub json-render removals are acknowledged breaking changes.
  • Verified locally: pnpm lint, pnpm knip, pnpm typecheck, pnpm test (1082 passing), and pnpm build all pass.

This PR was created with the help of an agent.

Clears the compatibility shims deprecated across the 0.7 series and adds
the 0.9 migration guide.

- devframe/adapters/cli (createCli/CreateCliOptions/CliHandle) -> devframe/adapters/cac
- devframe/recipes/open-helpers (openHelpers) -> devframe/recipes/common-rpc-functions
- devframe/rpc dump re-exports -> devframe/rpc/dump
- @devframes/hub json-render shims (defineJsonRenderSpec, ctx.createJsonRenderer,
  DevframeViewJsonRender, JsonRenderSpec/JsonRenderElement/JsonRenderer)
  -> @devframes/json-render

Migrates the hub-ui reference viewer's json-render dock onto the serializable
view ref from @devframes/json-render/hub.
@netlify

netlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploy Preview for devfra ready!

Name Link
🔨 Latest commit 86103f3
🔍 Latest deploy log https://app.netlify.com/projects/devfra/deploys/6a7932766834390008ef52e2
😎 Deploy Preview https://deploy-preview-180--devfra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@antfu antfu changed the title chore!: remove deprecated 0.7-era compat shims for 0.9 feat!: remove deprecated 0.7-era compat shims for 0.9 Aug 10, 2026
@antfu
antfu merged commit 3a7560f into main Aug 10, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants